<!DOCTYPE html>
<html>
<head>
	<title>3dp - Make, buy, and sell products with 3D Printing</title>
	<meta name="description" content="3dp is the 3D printing marketplace and community. Make your ideas real with 3D printing.">
	<meta name="keywords" content="3D printing, 3d printing service, personal fabrication, mass customization, mass personalization, DIY, unique objects, unique gifts, 3d printing tutorials, design for 3d printing, sls, fdm, objet, 3d metal printing, dmls">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" type="text/css" href="/rrstatic/stylesheets/screen.css?tag=<?php echo $tag?>"/>
	<link rel="stylesheet" type="text/css" href="/rrstatic/styles/jquery/jquery-ui-1.8.18.custom.css?tag=<?php echo $tag?>">
	<link rel="stylesheet" type="text/css" href="/rrstatic/styles/jquery/jquery.selectbox.css?tag=<?php echo $tag?>">
	<script type="text/javascript" src="/rrstatic/javascript/javascripts.min.js?tag=<?php echo $tag?>"></script>
	<script type="text/javascript" src="/rrstatic/javascript/shared.jquery.js?tag=<?php echo $tag?>"></script>
	<script type="text/javascript" src="/rrstatic/javascript/portal/super3dApp.jquery.js?tag=<?php echo $tag?>"></script>
	
	<style type="text/css">
	.price del {
		display: block;
		color: #999;
		margin-top: -18px;
		position: absolute;
		right: 0;
	}
	del {
		color: #666;
		text-decoration: line-through;
	}
	del {
		color: #999;
	}
	</style>
</head>
<body class="sct-schedulecontent ">
	<!-- start container -->
	<div class="">
		<!-- start content -->
		<?php include APPPATH . 'views/head.php';?>
		<div class=" clearfix ">
			<!-- how_work_area -->
			<!-- start products categories -->
			<div class="container clearfix" style="padding:30px 0;">
			<div class="span-3"><!-- start class span-3 left -->
				<!-- start menu class box -->
				<div class="box full-bleed">
					<div class="col-header">商品</div>
					<ul class="facet-category">
					    <li><a href="/featured?li=home-featured">精选</a></li>
					    <li><a href="/art?li=home-art">艺术</a></li>
					    <li><a href="/fashion?li=home-fashion">时尚</a></li>
					    <li><a href="/for-your-home?li=home-for-home">居家</a></li>
					    <li><a href="/gadgets?li=home-gadgets">小配件</a></li>
					    <li><a href="/jewelry?li=home-jewelry">珠宝</a></li>
					    <li><a href="/makerdiy?li=home-makerdiy">Maker/DIY</a></li>
					    <li><a href="/miniatures?li=home-miniatures">微缩模型</a></li>
					  </ul>
					  <br>
				</div><!-- end menu  -->
				<!-- start class box -->
		        <div class="box">
		      		<h4 class="text-center">更多3D打印服务</h4>
		      		<a href="/material_sample_kits#home-sample-kit"><img src="/rrstatic/img/portal/home/material-sample-kit.jpg" alt="创建样品工具包"></a>
		        	<p class="text-center bottom"><a href="/create">把你的想法变成产品 »</a></p>
		   		</div><!-- end class box -->       
				<a href="/gifts#cards&li=home-gift-cards">
					<img src="/rrstatic/img/portal/home/gift-card-cta.jpg" alt="Shapeways Gift Cards" width="222" height="169">
				</a>
		  	</div><!-- end class span-3 left -->
		  	<!-- start class span-9 center -->
		  	<div class="span-9 last">
			  <p><strong>精品推荐</strong></p>
			  <div class="grid-view">
			  <!-- beging rows -->
			  <?php 
			  $row_num = 1;
			  $product_num = 0;
			  $row_line = 0;
			  $row_frist = 1;
			  echo '<div class="product-row clearfix">';
			  foreach ($products as $row) {
				if($product_num%3 == 0 && $row_frist > 1){
					echo '</div><div class="product-row clearfix">';
				}
			  ?>
			  <div class="product-box <?php echo ($row_num%3==0)?'last':''?>" id="product-box-<?php echo $row->uid?>">
			  	<div class="clearfix">
			  		<div class="product-img">
			  			<a href="<?php echo $ser .'/model/'.$row->mid . '?n=' . $row->mname?>" class="product-url">
				  			<center>
					          <img src="<?php echo $row->picture?>" width="220" height="165" alt="">
					        </center>
			  			</a>
			  		</div>
			  		<div class="product-details">
			  			<div class="product-name">
				        	<a href="<?php echo $ser .'/model/'.$row->mid . '?n=' . $row->mname?>"><?php echo $row->mname?></a>
				      	</div>
				      	<div class="designer">By <?php echo $row->username?></div>
				      	<div style="clear:left;">&nbsp;</div>
				      	<div class="price-rating-container clearfix">
				      		<div class="ratingDivOuter">
				      			<div class="ratingDiv">(<?php echo $row->rating?>)&nbsp;</div>
				      			<div class="rating">
				      				<ul>
				      					<li class="current" style="width: <?php echo $row->rating?>em;">&nbsp;</li>
				      				</ul>
				      			</div>
				      		</div>
				      		<div class="price">
				      			<div>
				      				<span>--:</span>
				      				<!-- 
				      				<del>¥10</del>
				      				 -->
				              		<strong>¥<?php echo $row->price?></strong>
				      			</div>
				      		</div>
				      	</div>
			  		</div>
			  	</div>
			  	<div style="clear:left;height:1px;">&nbsp;</div>
			  </div>
			  <?php
			  	echo '<!-- end product ' . $row_num .' -->';
				$product_num++;
				$row_frist++;
				$row_num++;
			  }
			  echo '</div>';
			  ?>
			  <!-- end rows -->
		      </div><!-- end class grid-view -->
			</div><!-- end class span-9 center -->
		</div><!-- end products categories -->
		<!-- what_work_area -->
		<!-- in the news area -->
		</div><!-- end content -->
		 <!-- begin bottom.tpl -->
        <?php include APPPATH . 'views/footer.php';?>
        <!-- LEGAL -->
		<?php include APPPATH . 'views/footer_legal.php';?>
	</div><!-- end container -->
</body>
</html>